{extend name="public/base"/}
{block name="body"}
<div class="main-box no-header clearfix">
    <header class="main-box-header clearfix">
        <div class="pull-left">
            <h2>{$meta_title}</h2>
        </div>
        <div class="pull-right">
            <a href="{:url('add')}" class="btn btn-primary pull-right"> <i class="fa fa-plus-circle fa-lg"></i>
                新增充值记录</a>
        </div>
    </header>
    <div class="main-box-body clearfix">
        <div class="navbar navbar-default">
            <form action="" class="navbar-form form-inline" method="get">
                <div class="form-group">
                    <label class="control-label" for="input-order-id">用户ID</label>
                    <div class="input-group">
                        <input type="text" name="uid" value="{$param['uid']|default=''}" placeholder="用户ID"
                               class="form-control">
                    </div>
                </div>
                <!--<div class="form-group">
                    <label class="control-label" for="input-order-id">手机号</label>
                    <div class="input-group">
                        <input type="text" name="nickname" value="{$param['nickname']|default=''}" placeholder="昵称"
                               class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label" for="input-order-id">状态</label>
                    <div class="input-group">

                        <select name="" id="" class="form-control">
                            <option value="">启用</option>
                            <option value="">禁用</option>
                        </select>

                    </div>
                </div>-->
                <button class="btn btn-primary" type="submit"><i class="fa fa-search"></i> 筛选</button>
            </form>
        </div>
        <div class="table-responsive">
            <table class="table user-list table-hover">
                <thead>
                <tr>

                    <th>
                        <span>ID</span>
                    </th>
                    <th>
                        <span>用户ID</span>
                    </th>
                    <th>
                        <span>充值类型</span>
                    </th>
                    <th>
                        <span>充值金额</span>
                    </th>
                    <th>
                        <span>手续费</span>
                    </th>
                    <th>
                        <span>充值来源</span>
                    </th>
                    <th>
                        <span>充值时间</span>
                    </th>
                    <th><span>状态</span></th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="item"}
                <tr>
                    <td> {$item['id']}</td>
                    <td> {$item['uid']}</td>
                    <td> {$item['type_name']}</td>
                    <td> {$item['money']}</td>
                    <td> {$item['fee']}</td>
                    <td> {$item['way_name']}</td>
                    <td> {$item['create_time']}</td>
                    <td> {$item['status_name']}</td>
                </tr>
                {/volist}
                </tbody>
            </table>
            {$page}
        </div>
    </div>
</div>
{/block}